# name : BE analysis using proc glm with Nonreplicated Crossover Design 2x2
# key : be.glm.nonreplicated.
# contributor: Shuguang Sun
# --
proc glm data=${1:dtin};
class subject period seq drug;
model lnaval = seq subject(seq) period drug / ss1 ss3;
test h=seq e=subject(seq);
estimate 'TEST VS REFERENCE' drug 1 -1;
lsmeans drug / cl pdiff alpha=.10;
run;
